<template>
    <div>
        <div class="head">
            <!-- 头部盒子 -->
            <div class="head1">
                <img src="../../../assets/images/head01.png" alt="">
                <div class="heada">
                    <span class="span2"><a href="/index">首页</a></span>
                    <!--            下拉列表-->
                    <Down></Down>
                    <span class="span3"><a href="#">专属课程</a></span>
                </div>
                <div class="bottomBorder"></div>
            </div>
            <div class="head2">
                <input type="text" placeholder="搜索课程" class="input1">
                <input type="button" value="搜索" class="input2">
            </div>

                <Login style="margin-top:20px;margin-right: 200px"></Login>
                <!--                <div>登录按钮</div>-->

        </div>
    </div>
</template>

<script>
    import Login from "../../../components/Login";
    import Down from "../../../components/Classification";
    export default {
        name: "CacheHeader",
        components: {
            Down,
            Login
        }
    }
</script>

<style scoped lang="less">
    .head {
        width: 100%;
        height: 160px;
        overflow: hidden;
    }

    .head1 {
        width: 300px;
        height: 120px;
        margin-top: 2.4%;
        margin-left: 10%;
        float: left;
    }

    .head1 img {
        float: left;
    }

    .heada {
        margin-top: 6%;
        width: 450px;
    }

    .heada span a {
        margin-left: 4%;
        font-size: 16px;
        color: #444546;
    }

    .heada a:hover {
        color: #00cf8c;
        cursor: pointer;
    }

    .head2 {
        float: left;
        margin-top: 3%;
        margin-left: 12%;
        overflow: hidden;

    }

    .head2 .input1 {
        border: 1px solid #cccccc;
        height: 38px;
        width: 320px;
        border-radius: 30px 0px 0px 30px;
        font-size: 16px;
        padding-left: 2%;
        outline: none;
    }

    .head2 .input2 {
        height: 39px;
        width: 100px;
        background-color: #00cf8c;
        border-radius: 0px 30px 30px 0px;
        border: solid 1px #cccccc;
        margin-left: -2%;
        color: white;
        font-size: 16px;
        outline: none;
    }

    .head3 {
        margin-top: 3%;
        margin-left: 0%;
        float: left;
        height: 30px;
    }

    .head3b {
        float: left;
    }

    .head3b img {
        width: 10%;
        height: 10%;
        margin-left: 50%;
        margin-top: 7%;
    }

    .head3a {
        position: relative;
        top: 50%;
        float: left;
    }

    .head3 span img {
        background-color: #cccccc;
        display: inline-block;
        width: 11%;
        height: 100%;
        position: relative;
        top: 30%;
        left: -5%;
    }

    .head3 a {
        text-decoration: none;
        color: black;
    }
</style>